package com.blb.ioc.demo2;

import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Component;

/**
 * AMDCPU
 */
@Qualifier("amd")
@Component
public class AmdCpu implements Cpu {
    @Override
    public void run() {
        System.out.println("AMD的cpu运行了！");
    }
}
